package com.ebupt.migu.music.api.entity;

import com.ebupt.migu.music.common.api.BaseVo;

import javax.validation.constraints.NotNull;

/**
 * @author xuhongsong
 * @version 1.0
 * @date 2020/7/14 10:07
 */
public class MemberPopResponse<T> extends BaseVo {
    //  返回码 1：有返回结果 2：未查到数据 3：查询异常
    @NotNull
    private String rescode;
    // 返回信息 正常返回/未查到数据/异常
    @NotNull
    private String messge;
    // 用户号码 与传入USER_ID相同
    private String user_id;
    // 图片跳转链接
    @NotNull
    private String pic_url;
    // 图片链接
    @NotNull
    private String url;


    @Override
    public String toString() {
        return "MemberPopResponse{" +
                "rescode=" + rescode +
                ", messge='" + messge + '\'' +
                ", user_id='" + user_id + '\'' +
                ", pic_url='" + pic_url + '\'' +
                ", url=" + url +
                '}';
    }


    public  MemberPopResponse(String rescode,String messge,String user_id,String pic_url,String url){
        this.rescode=rescode;
        this.messge=messge;
        this.user_id=user_id;
        this.pic_url=pic_url;
        this.url=url;
    }
}
